package com.xx.job.service.system;

import com.xx.job.entity.system.SysDept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liangcy
 * @since 2021-01-14
 */
public interface SysDeptService extends IService<SysDept> {


    List<SysDept> deptTree();

    SysDept selectSysDept(Long id);

    int add(SysDept sysDept);

    int delect(Long id);

    int update(SysDept sysDept);

    List<SysDept> select();

    List<Map<String,Object>> deptTreeselect();



}
